import Request from "@/utils/request.js";

export const ArticleList = (params)=>{
    return Request.get('/article',{params:params});
}

export const ArticleAdd = (param)=>{
    return Request.post('/article',param);
}

export const ArticleUpdate = (param)=>{
    return Request.put('/article',param);
}

export const ArticleDelete = (params)=>{
    return Request.delete('/article',{params:params});
}